home *** CD-ROM | disk | FTP | other *** search
- Path: fangz.com!not-for-mail
- From: shad@fangz.com (Shadow.King)
- Newsgroups: alt.msdos.programmer,comp.lang.c
- Subject: Re: Pascal program works but not C program!
- Followup-To: alt.msdos.programmer,comp.lang.c
- Date: 18 Jan 1996 19:51:44 -0500
- Organization: fangz.com
- Message-ID: <4dmpv0$t77@fangz.com>
- References: <4cdpr2$psi@lugb.latrobe.edu.au> <Pine.SV4.3.91-heb-2.04.960104114930.16292A-100000@cs.technion.ac.il>
- NNTP-Posting-Host: fangz.com
- X-Newsreader: TIN [UNIX 1.3 BETA-950824-color PL0]
-
- : >
- : > void main(int argc,char *argv[])
- : ^-----------------------------This one too, but not too serious
- : > {
- : > }
- : >
- : >
-
- This isn't really a problem, it's usually just the error code that the
- program returns to dos when it exits. As far as I know it doesn't HAVE to
- do this so just void main should be fine, I usually do the saem thing
- with simple programs that don't need to set the error level on exit and
- I've had no problems whatsoever with it. It is if the program is supposed
- to return an error level though.
-